package com.paco.study.cloud.user.feign;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class CodeFeignFallBack implements CodeFeignClient {
    @Override
    public boolean validate(String email, String code) {
        log.error("validate err,{}[{}]", email, code);
        return false;
    }
}
